//
//  FWAttentUserCell.m
//  BirdLoveSheep
//
//  Created by wwj on 16/3/10.
//  Copyright © 2016年 wwj. All rights reserved.
//

#import "FWAttentUserCell.h"
#import "FWUserModel.h"
#import "UIImageView+Extension.h"

@interface FWAttentUserCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *followersLabel;
@end

@implementation FWAttentUserCell


- (void)setModel:(FWUserModel *)model{
    _model = model;
    [self.iconView fw_setImage:[NSURL URLWithString:model.header]];
    self.nameLabel.text = model.screen_name;
    self.followersLabel.text = [NSString stringWithFormat:@"%d人关注", model.fans_count];
    
}

@end
